{
  "targets": [
    {
      "target_name": "addon",
      "sources": [ "addon.cpp", "../src/huffmanNode.cpp", "../src/huffmanTree.cpp", "../src/huffmanCodes.cpp" ],
      "include_dirs": [
        "<!@(node -p \"require('node-addon-api').include\")"
      ],
      "cflags!": ["-fno-exceptions"],
      "cflags_cc!": ["-fno-exceptions"],
      "defines": ["NAPI_CPP_EXCEPTIONS"],
      "xcode_settings": {
        "OTHER_CFLAGS": ["-fno-exceptions"]
      }
    }
  ]
}
